/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.mdlalo.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.mdlalo.calculator.Calculator;
import za.ac.cput.mdlalo.calculator.impl.CalculatorImplementation;

/**
 *
 * @author 209039981
 */
@Configurable
public class ConfigApplication 
{
    @Bean(name = "calc")
    public Calculator calculator() 
    {
        return new CalculatorImplementation();
    }
    
}
